package cate.game.role.pvp.eliterace.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.pvp.eliterace.data.EliteRaceRedPacketRecord;
import easy.java.practice.errorcode.EcResult;

import java.util.List;

import static cate.game.client.msg.MsgSender.send;
import static cate.game.client.msg.id.MsgIdBEliteRace.RED_PACKET_REQ;

@ClientMsg(title = "精英赛 红包 请求")
public class EliteRaceRedPacketReq implements MsgInput {

    @Override
    public MsgConfig conf() {
        return RED_PACKET_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getPvp().eliteRace.redPacketPO.handleRedPacketReq();
    }
}
